package com.vitalfit.service;

import com.vitalfit.model.dto.FoodOrderDTO;
import com.vitalfit.model.entity.food.FoodOrder;
import com.vitalfit.model.vo.PageFoodOrderVO;
import com.vitalfit.model.vo.UserAuthentication;

public interface FoodOrderService {
    FoodOrder createFoodOrder(UserAuthentication userAuthentication,FoodOrderDTO foodOrderDTO);
    FoodOrder updateFoodOrderStatus(FoodOrderDTO foodOrderDTO);
    FoodOrder rateFoodOrder(Integer orderId, Integer rating);
    FoodOrder getFoodOrder(Integer orderId);

    PageFoodOrderVO getFoodOrderByUserId(Integer userId, int page, int size);


    PageFoodOrderVO getAllFoodOrder(int page, int size);
}
